package com.situ.ssm.service;

import java.util.List;
import java.util.Map;

import com.situ.ssm.entity.Banji;
import com.situ.ssm.entity.PageBean;
import com.situ.ssm.vo.BanjiSearchCondition;

public interface IBanjiService {

	List<Banji> list();

	PageBean<Map<String, Object>> getPageBean(BanjiSearchCondition condition);

	boolean insert(Banji banji);

	boolean deleteById(Integer id);

	boolean deleteAll(String[] selectIds);

	Banji findById(Integer id);

	boolean update(Banji banji);

	boolean checkName(String name);

}
